package com.runningrookie.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

@Setter
@Getter
@ToString
public class ConcurrencyLockBean {
    /**
     * 数据库主键
     */
    private Long id;
    /**
     * 操作节点
     */
    private String businessNode;
    /**
     * 订单唯一编号
     */
    private String businessUniqueNo;
    /**
     * 线程ID
     */
    private Long threadId;
    /**
     * 创建日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date creationDate;
}
